package com.example.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.AfterSalefront;
import com.example.demo.entity.SysUser;
import com.example.demo.repository.AfterSalefrontRepository;

@Service
public class AfterSalefrontService extends BaseService<AfterSalefront,Integer>{
	@Autowired
	AfterSalefrontRepository afterDao;
	
	public List<AfterSalefront> findBySysuser(SysUser user) {
		return afterDao.findBySysuser(user);
	}

	public List<AfterSalefront> findByJishi(SysUser user) {
		return afterDao.findByJishi(user);
	}

}
